package com.atguigu.gmall.payment.service;

import com.atguigu.gmall.model.enums.PaymentType;
import com.atguigu.gmall.model.payment.PaymentInfo;

import java.math.BigDecimal;
import java.util.Map;

public interface PaymentService {
    void savePaymentInfo(Long orderId, PaymentType paymentType);

    PaymentInfo getPaymentInfo(Long orderId);

    void paySuccess(Map<String, String> paramsMap);

    BigDecimal getRefundAmount(String outTradeNo);
}
